package com.basic.business.order.mapper;

import com.basic.business.order.domain.TOrdersDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 订单明细表持久层
 *
 * @author zhaoxy_jn@163.com
 */
@Mapper
public interface ITOrdersDetailMapper {

    /**
     * 批量入库
     */
    public void batchInsertOrUpdate(List<TOrdersDetail> ordersDetails);

    /**
     * 根据主订单sid删除
     */
    public int deleteByMainSid(long mainSid);
}
